feat: steel computer - #98
Merged
Merged
Conversation
junhsss
force-pushed
the
jun/computer
branch
from
September 10, 2026 08:39
51c984f to
9f4eb7e
Compare
junhsss
force-pushed
the
jun/computer
branch
from
September 10, 2026 09:17
9f4eb7e to
0712a77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
steel computer, the CLI surface for Steel computers.create(--template,--region,--vcpu,--memory,--disk,--timeout,--auto-pause,--wait,--use),list,get,delete,pause,resume --wait.use. Remembers a default computer in~/.config/steel/config.jsonso the other commands need no id. Resolution order is the positional id, thenSTEEL_COMPUTER_ID, then the stored default.exec.steel computer exec [id] -- <argv>or-c "<shell string>", with--cwd,--env KEY=VALUE,--timeout. In text mode the output streams as it arrives; in--jsonmode the result is one{output, exitCode, timedOut, truncated}object. The remote exit code is the CLI's exit code, and a timeout exits 124. A 503 withRetry-Afterfrom a waking computer is retried with a short backoff.ssh. A built-in SSH client (russh) over the gateway'ssteel-ssh-v1WebSocket bridge.steel computer ssh [id]opens a shell with a pty, raw mode and window resizes;steel computer ssh [id] -- <command>runs one command with stdin. No keys to manage: the bridge is authenticated by the API key at the gateway, and the guest sshd accepts the session behind it.The WebSocket goes to the API host (
STEEL_API_URL), notconnect.steel.dev; computer routes live on the public API host and are routed to the computer's box by id.